home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / nosvw137.zip / PPP < prev    next >
Text File  |  1991-09-18  |  11KB  |  268 lines

  1. ===                                                 NOSview [137]
  2. ppp
  3. ===
  4.  
  5.  
  6. The 'ppp' commands are used for Point to Point Protocol
  7. interfaces.
  8.  
  9. This implementation of PPP is designed to be as complete as
  10. possible.  Because of this, the number of options can be rather
  11. daunting.  However, a typical PPP configuration might include the
  12. following commands:
  13.  
  14.         attach asy 0x3f8 4 ppp pp0 4096 1500 9600
  15.         dial pp0 30 <host> 3 dialer.pp0
  16.         #
  17.         ppp pp0 lcp local accm 0
  18.         ppp pp0 lcp local compress address on
  19.         ppp pp0 lcp local compress protocol on
  20.         ppp pp0 lcp local magic on
  21.         ppp pp0 lcp open active
  22.         #
  23.         ppp pp0 ipcp local compress tcp 16 1
  24.         ppp pp0 ipcp open active
  25.         #
  26.         route add default pp0
  27.  
  28. _________________________________________________________________
  29. ppp <interface>
  30. _________________________________________________________________
  31. Display the status of the PPP interface.
  32.  
  33.  
  34. The following commands are used for the LCP (Link Control
  35. Protocol) configuration.
  36.  
  37. _________________________________________________________________
  38. ppp <interface> lcp close
  39. _________________________________________________________________
  40. Shutdown the PPP interface.
  41.  
  42.  
  43. _________________________________________________________________
  44. ppp <interface> lcp local ...
  45. _________________________________________________________________
  46. The 'lcp local' commands control the configuration of the local
  47. side of the link.  If an option is specified, the parameters will
  48. be used as the initial values in configuration requests.  If not
  49. specified, that option will not be requested.
  50.  
  51. For each of these options, the 'allow' parameter will permit the
  52. remote host to include that option in its response, even when the
  53. option is not included in the request.  By default, all options
  54. are allowed.
  55.  
  56.  
  57. _________________________________________________________________
  58. ppp <interface> lcp local accm [ <bitmap> | allow [on | off] ]
  59. _________________________________________________________________
  60. Display or set the ACCM (Async Control Character Map).  The
  61. default is 0xffffffff.
  62.  
  63.  
  64. _________________________________________________________________
  65. ppp <interface> lcp local authenticate [ pap | none | allow
  66.                                                    [on | off] ]
  67. _________________________________________________________________
  68. Display or set the authentication protocol.  The default is none.
  69.  
  70.  
  71. _________________________________________________________________
  72. ppp <interface> lcp local compress address/control
  73.                                   [ on | off | allow [on | off] ]
  74. _________________________________________________________________
  75. Display or set the option to compress the address and control
  76. fields of the PPP HLDC-like header.  This is generally desirable
  77. for slow asynchronous links, and undesirable for fast or
  78. synchronous links.  The default is off.
  79.  
  80.  
  81. _________________________________________________________________
  82. ppp <interface> lcp local compress protocol
  83.                                      [ on | off | allow [on|off]]
  84. _________________________________________________________________
  85. Display or set the option to compress the protocol field of the
  86. PPP HLDC-like header.  This is generally desirable for slow
  87. asynchronous links, and undesirable for fast or synchronous
  88. links.  The default is off.
  89.  
  90.  
  91. _________________________________________________________________
  92. ppp <interface> lcp local magic [ on | off | <value> | allow
  93.                                                   [on|off] ]
  94. _________________________________________________________________
  95. Display or set the initial Magic Number.  The default is off
  96. (zero).
  97.  
  98.  
  99. _________________________________________________________________
  100. ppp <interface> lcp local mru [ <size> | allow [on | off] ]
  101. _________________________________________________________________
  102. Display or set the Maximum Receive Unit.  The default is 1500.
  103.  
  104.  
  105. _________________________________________________________________
  106. ppp <interface> lcp local default
  107. _________________________________________________________________
  108. Reset the options to their default values.
  109.  
  110.  
  111. _________________________________________________________________
  112. ppp <interface> lcp open active | passive
  113. _________________________________________________________________
  114. Wait for the physical layer to come up.  If 'active', initiate
  115. configuration negotiation.  If 'passive', wait for configuration
  116. negotiation from the remote.
  117.  
  118.  
  119. _________________________________________________________________
  120. ppp <interface> lcp remote ...
  121. _________________________________________________________________
  122. The 'lcp remote' commands control the configuration of the remote
  123. side of the link.  The options are identical to those of the
  124. local side.
  125.  
  126. If an option is specified, the parameters will be used in
  127. responses to the remote's configuration requests.
  128.  
  129. If not specified, that option will be accepted if it is allowed.
  130.  
  131. For each of these options, the 'allow' parameter will permit the
  132. remote to specify that option in its request.
  133.  
  134. By default, all options are allowed.
  135.  
  136.  
  137. _________________________________________________________________
  138. ppp <interface> lcp timeout [<seconds>]                Default: 3
  139. _________________________________________________________________
  140. Display or set the interval to wait between configuration or
  141. termination attempts.
  142.  
  143.  
  144. _________________________________________________________________
  145. ppp <interface> lcp try ...
  146. _________________________________________________________________
  147. The 'lcp try' commands are used for the various counters.
  148.  
  149.  
  150. _________________________________________________________________
  151. ppp <interface> lcp try configure [<count>]           Default: 10
  152. _________________________________________________________________
  153. Display or set the number of configuration requests sent.
  154.  
  155.  
  156. _________________________________________________________________
  157. ppp <interface> lcp try failure [<count>]              Default: 5
  158. _________________________________________________________________
  159. Display or set the number of bad configuration requests allowed
  160. from the remote.
  161.  
  162.  
  163. _________________________________________________________________
  164. ppp <interface> lcp try terminate [<count>]            Default: 2
  165. _________________________________________________________________
  166. Display or set the number of termination requests sent before
  167. shutdown.
  168.  
  169.  
  170. _________________________________________________________________
  171. ppp <interface> ipcp ...
  172. _________________________________________________________________
  173. The 'ipcp' commands are used for the Internet Protocol Control
  174. Protocol configuration.
  175.  
  176. The 'close', 'open', 'timeout' and 'try' sub-commands are
  177. identical to the LCP (described above).
  178.  
  179.  
  180. _________________________________________________________________
  181. ppp <interface> ipcp local ...
  182. _________________________________________________________________
  183. The 'ipcp local' commands control the configuration of the local
  184. side of the link.  If an option is specified, the parameters will
  185. be used as the initial values in configuration requests.  If not
  186. specified, that option will not be requested.
  187.  
  188. For each of these options, the 'allow' parameter will permit the
  189. remote to include that option in its response, even when the
  190. option is not included in the request.  By default, all options
  191. are allowed.
  192.  
  193.  
  194. _________________________________________________________________
  195. ppp <interface> ipcp local address [ <hostid> | allow
  196.                                                      [on | off] ]
  197. _________________________________________________________________
  198. Display or set the local address for negotiation purposes.  If an
  199. address of 0 is specified, the other side of the link will supply
  200. the address.  By default, no addresses are negotiated.
  201.  
  202.  
  203. _________________________________________________________________
  204. ppp <interface> ipcp local compress [ tcp <slots>
  205.                              [<flag>] | none | allow [on | off] ]
  206. _________________________________________________________________
  207. Display or set the compression protocol.  The default is none.
  208.  
  209. The tcp <slots> specifies the number of "conversation" slots,
  210. which must be 1 to 255. (This may be limited at compilation time
  211. to a smaller number.)  A good choice is in the range 4 to 16.
  212.  
  213. The tcp <flag> is 0 (don't compress the slot number) or 1 (OK to
  214. compress the slot number).  KA9Q NOS can handle compressed slot
  215. numbers, so the default is 1.
  216.  
  217.  
  218. _________________________________________________________________
  219. ppp <interface> ipcp remote ...
  220. _________________________________________________________________
  221. The 'ipcp remote' commands control the configuration of the
  222. remote side of the link.  The options are identical to those of
  223. the local side.  If an option is specified, the parameters will
  224. be used in responses to the remote's configuration requests.  If
  225. not specified, that option will be accepted if it is allowed.
  226. For each of these options, the 'allow' parameter will permit the
  227. remote to specify that option in its request.  By default, all
  228. options are allowed.
  229.  
  230.  
  231. _________________________________________________________________
  232. ppp <iface> pap ...
  233. _________________________________________________________________
  234. The 'pap' commands are used for the Password Authentication
  235. Protocol configuration.
  236.  
  237. The 'timeout' and 'try' sub-commands are identical to the LCP
  238. (described above).  However, the terminate counter is unused.
  239.  
  240.  
  241. _________________________________________________________________
  242. ppp <interface> pap user [ <username> [<password>] ]
  243. _________________________________________________________________
  244. Display or set the <username>.
  245.  
  246. The <password> may also be set, but not displayed.
  247.  
  248. When <username> is specified, but no password is supplied, the
  249. FTPUSERS file is searched for the password.  When a username-
  250. password pair is unknown or rejected, a session will appear at
  251. the console to prompt for a new username-password.
  252.  
  253.  
  254. _________________________________________________________________
  255. ppp <interface> trace [<flags>]
  256. _________________________________________________________________
  257. Display or set the flags that control the logging of information
  258. during PPP link configuration.
  259.  
  260. The flag values are:
  261.  
  262. 0:  No trace
  263. 1:  Basic trace
  264. 2:  General trace
  265.  
  266. Values greater than 2 are usually not compiled, and are described
  267. in the appropriate source files where they are defined.
  268.